package com.xiaodoo.test.service;

import com.xiaodoo.test.client.IpLocationClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MapServiceImpl implements MapService {

    @Autowired
    private IpLocationClient client;
    @Override
    public String ipLocation() {
        String location = client.ipLocation("123");
        return location;
    }
}
